#pragma once
class Vector2D
{
public:
	Vector2D(){x=y=-1;}
	Vector2D(int x, int y) {
		this->x = x;
		this->y = y;
	}
	bool valid(){
		return x!=-1;
	}
	int x, y;
};

